#pragma once
#include <vector>
#include <string>

CString GetCutPath();

void InitGdiplus(ULONG_PTR& token);

int GetEncoderClsid(const wchar_t* format, CLSID* pClsid);

bool GetCLSIDJpg(CLSID* pclsid);

bool TransBmpToPng(LPCTSTR oldpath, LPCTSTR newpath);

bool SaveBitmapToFile(HBITMAP hBitmap, CString szfilename);

bool ScreenShot(HWND hWndSrc, RECT rcWnd, LPCTSTR path);

bool spritStr(const wchar_t* sprit, const wchar_t* sstr, std::vector<std::wstring>& outlist);
